'use strict';

const Controller = require('egg').Controller;

class SiteNavigationController extends Controller {
  async index() {
    const { ctx } = this
    const dataArr = await ctx.service.siteNavigation.all()
    await ctx.render('siteNavigation/index', { dataArr });
  }
}

module.exports = SiteNavigationController;